<?php

namespace app\controller;

use app\BaseController;
use think\facade\View;
use app\lib\AppConfig;

class Index extends BaseController
{
    public function index()
    {

        $appconfig = new AppConfig();
        $config = $appconfig->getApiData();
        View::assign('list', $config);
        View::config(['view_path' => template_path_get()]);
        return View();
    }
}
